package aplug.di;


import org.changs.aplug.annotation.ActivityScoped;
import org.changs.setting.StartActivity;
import org.changs.setting.main.MainActivity;
import org.changs.setting.main.MainModule;

import dagger.Module;
import dagger.android.ContributesAndroidInjector;

/**
 * Created by yincs on 2017/8/26.
 */

@Module
abstract public class ActivitiesModules {

    @ActivityScoped
    @ContributesAndroidInjector(modules = MainModule.class)
    abstract MainActivity MainActivity();


    @ActivityScoped
    @ContributesAndroidInjector
    abstract StartActivity StartActivity();
}
